package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.SysDept;

import java.util.List;

@Mapper
public interface SysDeptMapper {
    List<SysDept> deptsList();

    List<SysDept> selectlist(SysDept sysDept);


    boolean insertDept(SysDept sysDept);


    List<SysDept> list();

    boolean updateDept(SysDept sysDept);

    boolean deleteById(Integer id);

    SysDept selectByid(Long deptId);

    void updateByid(Long deptId);

    void saveDeptBath(List<SysDept> cacheDataList);


}
